<?php $this->load->view('student_home/_header') ?>
<?php $this->load->view('message') ?>
<script tyep="text/javascript">
    
</script>

<div class="container">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">课程信息</h3>
        </div>
        <div class="panel-body">
            <table class="table table-striped table-hover ">
                <thead>
                    <tr  class="success">                  
                        <th>学校</th>
                        <th><?php echo $school['name']?></th>                 
                        <th>教师</th>
                        <th><?php echo $teacher['name']?></th>
                        
                    </tr>
                    <tr  class="success">                  
                        <th>课程名称</th>
                        <th><?php echo $big_lecture['name']?></th>                 
                        <th>班级名称</th>
                        <th><?php echo $logic_class['name']?></th>
                        
                    </tr>
                    <tr>
                        <th>序号</th>
                        <th>科目</th>
                        <th>时间限制</th>                       
                        <th></th>
                    </tr>
                </thead>
                <tbody>
                    <?php $index=1; ?>
                    <?php foreach ($modules as $item): ?>
                    <tr>
                        <td>
                            <?php echo $index++ ;?></td>
                        <td>
                            <?php echo $item['name']?>
                        </td>
                        <td>
                            <?php echo $item['time_limit']?></td>
                         <td></td>
                    </tr>
                    <?php endforeach; ?>
                </tbody>

            </table>
            <div class="col-lg-2  col-lg-offset-8 login-textbox">
                <a href="<?php echo site_url('student_home/confirm_logic_class').'/'.$logic_class['id']?>" class="btn btn-primary">
                    确认选课
                </a>
            </div>
            <div class="col-lg-2  login-textbox">
                <a href="<?php echo site_url('student_home/index')?>" class="btn btn-primary">
                    返回
                </a>
            </div>
        </div>
    </div>
</div>
<?php $this->load->view('student_home/_footer')?>